package com.qf.entity;

import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

//@Data
//@NoArgsConstructor
//@AllArgsConstructor
//@Getter
//@Setter
public class User {

    private Integer uId;
    private String uName;
    private String uPassword;
    private String uEmail;
    private String uSex;
    private int uStatus;
    private String uPhone;
    private Date uRegisterDate;
    private BigDecimal uBalance;


    public User() {
    }

    public User(int uId, String uName, String uPassword, String uEmail, String uSex, int uStatus, String uPhone, Date uRegisterDate, BigDecimal uBalance) {
        this.uId = uId;
        this.uName = uName;
        this.uPassword = uPassword;
        this.uEmail = uEmail;
        this.uSex = uSex;
        this.uStatus = uStatus;
        this.uPhone = uPhone;
        this.uRegisterDate = uRegisterDate;
        this.uBalance = uBalance;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public String getuEmail() {
        return uEmail;
    }

    public void setuEmail(String uEmail) {
        this.uEmail = uEmail;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public int getuStatus() {
        return uStatus;
    }

    public void setuStatus(int uStatus) {
        this.uStatus = uStatus;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public Date getuRegisterDate() {
        return uRegisterDate;
    }

    public void setuRegisterDate(Date uRegisterDate) {
        this.uRegisterDate = uRegisterDate;
    }

    public BigDecimal getuBalance() {
        return uBalance;
    }

    public void setuBalance(BigDecimal uBalance) {
        this.uBalance = uBalance;
    }

    @Override
    public String toString() {
        return "User{" +
                "uId=" + uId +
                ", uName='" + uName + '\'' +
                ", uPassword='" + uPassword + '\'' +
                ", uEmail='" + uEmail + '\'' +
                ", uSex='" + uSex + '\'' +
                ", uStatus=" + uStatus +
                ", uPhone='" + uPhone + '\'' +
                ", uRegisterDate=" + uRegisterDate +
                ", uBalance=" + uBalance +
                '}';
    }
}
